{extend name="public:base"}
{block name='css'}
{/block}

{block name='body'}
<div class="view view-main white-navbar white-toolbar">
    <div data-name="home" class="page">

        <div class="navbar">
            <div class="navbar-inner">
                <div class="left"><a href="{$my_prev_url|default='/'}" class="external"><i class="iconfont icon-fanhui"></i></a></div>
                <div class="center"><span>分销中心</span></div>
                <div class="right"></div>
            </div>
        </div>

        <div class="page-content padding-bottom50">

            <div class="me-inter">
                <img src="__PUBLIC__/img/a6.png" class="bg" alt="" />
                <div class="mne">
                    <p class="p1">{$integral}</p>
                    <p class="p2">待转结积分</p>
                </div>
            </div>

            <div class="list me-info">
                <ul>
                    <li>
                        <a class="item-content external" href="{:url('details_fx')}">
                            <div class="item-inner">
                                <div class="item-title">积分明细</div>
                                <div class="item-after"><i class="iconfont icon-jiantou"></i></div>
                            </div>
                        </a>
                    </li>
                    <li>
                        <a class="item-content external" href="{:url('fx_qrcode')}">
                            <div class="item-inner">
                                <div class="item-title">推广二维码</div>
                                <div class="item-after">推荐码：{$code}<i class="iconfont icon-jiantou"></i></div>
                            </div>
                        </a>
                    </li>
                    <li>
                        <a class="item-content external" href="{:url('fx_list', ['level'=>1])}">
                            <div class="item-inner">
                                <div class="item-title">一代用户</div>
                                <div class="item-after">{$one.num|default=0}人 共消费￥{$one.amount|amountFormat=###}<i class="iconfont icon-jiantou"></i></div>
                            </div>
                        </a>
                    </li>
                    <li>
                        <a class="item-content external" href="{:url('fx_list', ['level'=>2])}">
                            <div class="item-inner">
                                <div class="item-title">二代用户</div>
                                <div class="item-after">{$two.num|default=0}人 共消费￥{$two.amount|amountFormat=###}<i class="iconfont icon-jiantou"></i></div>
                            </div>
                        </a>
                    </li>
                    <li>
                        <a class="item-content external" href="{:url('fx_list', ['level'=>3])}">
                            <div class="item-inner">
                                <div class="item-title">三代用户</div>
                                <div class="item-after">{$three.num|default=0}人 共消费￥{$three.amount|amountFormat=###}<i class="iconfont icon-jiantou"></i></div>
                            </div>
                        </a>
                    </li>
                </ul>
            </div>

        </div>


    </div>
</div>
{/block}

{block name="js"}
<script>

</script>
{/block}